﻿using Shop.RemoteModel.FrontCategory.Model;

namespace Shop.Service.Interface
{
    public interface IFrontCategoryService
    {
        long Add (FrontCategoryAdd add);
        void Delete (long id);
        void Disable (long id);
        void Enable (long id);
        FrontCategoryDatum Get (long id);
        FrontCategoryFullTree[] GetFullTree ();
        FrontCategoryTree[] GetTree (FrontCategoryGetParam param);
        void Move (long id, long? toId);
        bool Set (long id, FrontCategorySet set);
        Dictionary<long, int> SetSort (long id, int sort);
    }
}